﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alos.Entity;

namespace Alos.IRepository
{
    public interface IReClassSignRepository : IBaseRepository<ReClassSign>
    {
        /// <summary>
        /// 根据备课编号获取当前该课堂上学生标记
        /// </summary>
        /// <param name="id">备课编号</param>
        /// <param name="ReType">类型  上课点评0 ， 结束上课评论1</param>
        /// <returns></returns>
        IEnumerable<ReClassSign> GetReClassSign(int id, int ReType);
        /// <summary>
        /// 添加学生课堂标记
        /// </summary>
        /// <param name="reclasssign">学生课堂标记</param>
        /// <returns></returns>
        int CreatReClassSign(ReClassSign reclasssign);
        /// <summary>
        /// 根据备课编号和学生ID删除学生课堂标记
        /// </summary>
        /// <param name="reclasssign">备课编号,学生ID SignContent ReType</param>
        /// <returns></returns>
        int DeleteReClassSign(int LessionID, int stuId, int SignContent, int ReType);
        
    }
}
